import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant, { Lazyload } from 'vant' // 组件库
import 'vant/lib/index.css' // 样式
import 'amfe-flexible'
// 引入全局样式
import '@/styles/index.less'
import dateFormat from './utils/dateFormate.js'

Vue.use(Vant) // 引入
Vue.use(Lazyload)
Vue.use(dateFormat)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
